from flask import Flask

from .index import index_bp
from .logs_view import logs_bp
from .roles import role_bp

from . import department
from . import file
from . import rights
from . import passport
from . import users
# 计算机视觉
from . import gray
from . import add
from . import gama
from . import turn
from . import dpi
from . import gravies
from . import back
from . import linear
from . import log
from . import equal
from . import zoom
from . import trans
from . import spin
from . import corrode
from . import dilate
from . import open
from . import filter
from . import sharpen


def init_view(app: Flask):
    app.register_blueprint(index_bp)
    app.register_blueprint(logs_bp)
    app.register_blueprint(role_bp)
